Raster Package Structure
The raster package structure, of data typegxRasterPackageRec
, defines the format of the raster package ('rpck'
) resource.
struct gxRasterPackageRec { Ptr bufferSize; short colorPasses; short headHeight; short numberPasses; short passOffset; gxRasterPackgeOptions packageOptions; }; typedef struct gxRasterPackageRec gxRasterPackageRec, *gxRasterPackagePtr, **gxRasterPackageHdl;
Field Description
bufferSize
- The buffer size for packaging. This value must be greater than or equal to the maximum head-pass size.
colorPasses
- The number of color passes. This value is typically 1 for monochrome printers and 4 for CMYK printers.
headHeight
- The height of the print head, in pixels.
numberPasses
- The number of passes it takes to print one print head of data.
passOffset
- The offset between passes, in pixels.
packageOptions
- The packaging options. The constants that you can use in this field are the values of the raster package options enumeration, described in the next section. You can combine several of the constants into one value for this field.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help